package vip.xiaonuo.hontu.util;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
public class FileResponse {

    /**
     * code
     */
    @JSONField(name = "code")
    private Integer code;
    /**
     * data
     */
    @JSONField(name = "data")
    private DataDTO data;
    /**
     * msg
     */
    @JSONField(name = "msg")
    private String msg;

    /**
     * DataDTO
     */
    @NoArgsConstructor
    @Data
    public static class DataDTO {

        /**
         * name
         */
        @JSONField(name = "name")
        private String name;
        /**
         * url
         */
        @JSONField(name = "url")
        private String url;
    }

}
